package com.yuanfengPlus.basicInfoManage.loginAndAuthentication.service;


import com.yuanfengPlus.utils.Result ;
import com.yuanfengPlus.basicInfoManage.loginAndAuthentication.model.User;

public interface BlogLoginService {
    /**
     * 前台登录
     * @param user
     * @return
     */
    Result login(User user);

    /**
     *  注册接口
     * @param user
     * @return
     */
    Result addUser(User user);

    //退出登录接口

    /**
     *  退出登录
     * @param username
     * @return
     */
    Result logout(String username);
    Result getUserInfo(String userID);

}